package com.pro.h5case.admin.controller;

import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;


@Controller
@RequestMapping("/link")
public class SessionController {
	@RequestMapping(value="/keep.html",method=RequestMethod.POST)
	public@ResponseBody void getSession(HttpSession session){
		session.getAttribute("admin");
	}
}
